package com.rapid.maintenance.adapter;

import android.content.Intent;
import android.view.View;
import android.widget.AdapterView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.rapid.maintenance.R;
import com.rapid.maintenance.base.BaseAdapter;
import com.rapid.maintenance.ui.activity.paimai.PaimaiDetailActivity;

import androidx.annotation.NonNull;

public class ErshouResultAdapter extends BaseAdapter<Object> {
    public ErshouResultAdapter() {
        super(R.layout.item_paimai_ershou_mall);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder helper, Object item) {
        helper.setOnClickListener(R.id.tv_parameter, view -> view.getContext().startActivity(new Intent(view.getContext(), PaimaiDetailActivity.class)));
    }
}
